home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 4
/
Aminet 4 - November 1994.iso
/
aminet
/
comm
/
fido
/
fidomon10.lha
/
FidoMon.doc
< prev
next >
Wrap
Text File
|
1994-09-12
|
21KB
|
469 lines
FidoMon Version 1.0
Copyright September, 1994 by Elton VonCannon
---------------------------------------------------------------------------
Introduction:
---------------------------------------------------------------------------
FidoMon provides a real-time display of TrapDoor's inbound/outbound
directories. It provides a simple mechanism to change NetMail and Flow
file status, and it can execute a user defined polling script based on the
address of a selected file. It also provides FidoNet file type and address
information at a glance, and even more information is often available with
a few clicks of a mouse button. Finally, it provides a mechanism by which
a user can edit some of FidoNet's text based files without worrying about
the carriage return/line feed conversions that are often otherwise
necessary for FidoNet files.
---------------------------------------------------------------------------
Disclaimer:
---------------------------------------------------------------------------
This software is provided "as is", with no warranty of any kind. Although
every effort has been made to ensure the quality of this software, in no
event will the author, Elton VonCannon, be liable for direct, indirect,
incidental or consequential damages or data loss resulting from its use or
application. The entire risk as to the results and/or performance of this
software is assumed by you, the user.
---------------------------------------------------------------------------
Licensing Requirements:
---------------------------------------------------------------------------
This program is copyrighted material and is not placed in the public
domain. You are authorized to use FidoMon for any legal purpose, as long
as you don't modify it in any way. You may also distribute the archive for
any non-commercial purpose as long as its contents remain unaltered and
intact. Any commercial distribution, with the exception of Fred Fish's
disks, requires the explicit permission of the author.
FidoMon is being released as shareware. If you use it, you're requested to
suggest how to improve it. Without your support, I will not be making any
enhancements to FidoMon.
---------------------------------------------------------------------------
Operational Considerations:
---------------------------------------------------------------------------
My utmost concern was to make FidoMon as unobtrusive to the operation of
TrapDoor as possible. If FidoMon crashed the system or trashed (or caused
another application to trash) an important file or if it interfered with
TrapDoor's file transfers in any way, it would be worthless to myself and
any potential users. Therefore FidoMon checks the inbound/outbound
directories only about once every 3-4 seconds (sometimes longer). Patience
is definitely a virtue when file transfers are involved.
---------------------------------------------------------------------------
System Requirements:
---------------------------------------------------------------------------
AmigaDos version 2.1 or higher.
TrapDoor version 1.83 or higher.
TrapList.library version 4 or higher.
ReqTools.library version 2 or higher.
FidoMon also requires an assignment to logical device "T:" for its
temporary Info and Edit files. Ideally, this would be made to a directory
somewhere on a fast device (such as RAM:).
An external ASCII text editor such as Ed, CED, MicroEmacs, or TurboText.
An external ASCII text reader such as More (or you can just use an editor).
An external dialing program (for calling with TrapDoor).
In addition, FidoMon needs the following directories in order to perform
its magic (these are required by TrapDoor anyway but you may need to inform
FidoMon of your paths, if they are other than the defaults listed here):
Inbound directory - defaults to "Mail:Inbound/"
Outbound directory - defaults to "Mail:Outbound/"
NodeList directory - defaults to "NodeList:"
Note: If your system already uses these defaults for TrapDoor, you need
not specify them to FidoMon.
---------------------------------------------------------------------------
Bugs:
---------------------------------------------------------------------------
None known, but...
- Some might consider HiJack mode's behavior when FidoMon exits to be a
bug, but since this behavior is predictable (and even documented
below), I don't.
- If FidoMon opens a file and TrapDoor immediately tries to delete it,
TrapDoor may not be able to. This isn't a bug, this is just the way
that a multitasking filing system works. My advice is that you don't
try reading any files at the same time that TrapDoor is sending them.
---------------------------------------------------------------------------
Installation:
---------------------------------------------------------------------------
1. Copy it to a location where you'll be able to find it again. :-)
2. If you want FidoMon's window to appear on TrapDoor's screen, you will
also need to add the following lines to TrapDoor's configuration file
if they do not already exist:
a. Add the line "SCREENMODE PUBLIC".
b. Add the line "PUBLICSCREENNAME TrapDoor". (Note: Screen names
other than "TrapDoor" are perfectively acceptable also. Just
take note of the name so that you can tell FidoMon what it is
later.)
NOTE: Depending on your operating system version, the screen name may
be case sensitive.
---------------------------------------------------------------------------
Starting FidoMon:
---------------------------------------------------------------------------
FidoMon is a CLI (or shell) only program. If you really want to start it
from Workbench, you could probably create a script and execute it using
IconX, but I haven't tried that.
When you start FidoMon, you do NOT want to use "RunBack" (or even "Run").
Just type "FidoMon" and hit return and FidoMon will "RunBack" itself.
NOTE: If you rename FidoMon, it will refuse to run correctly. If this
causes any problems, let me know and I'll address it in a later release.
If you type "FidoMon ?", FidoMon will display a multitude of command line
options that aren't described here, but you are only required to provide a
public screen name in order to get started. If you already have TrapDoor
running on a public screen named "TrapDoor" and if your inbound, outbound,
and NodeList directory paths are "Mail:Inbound/", "Mail:Outbound/", and
"NodeList:" then you won't have to worry about telling FidoMon about
anything at all (you can set up everything else via the program's menus).
Otherwise, FidoMon may ask you for the paths to your inbound, outbound, and
NodeList directories. If the default paths "Mail:Inbound" and
"Mail:Outbound" exist, and for some reason you aren't using them with
TrapDoor, you can change them via a menu from within FidoMon (or just
specify the correct paths on the command line to begin with).
After FidoMon is running, you can save all of its user definable options
(including its window position) in a convenient configuration file.
Thereafter, whenever FidoMon is started, it will automatically get its
information from this configuration file (although you will still be able
to override any pre-configured options from the command line when you next
start FidoMon, or you can just change them from within the program using
its menus... The menus are described in a later section).
See the "The Configuration Options Menu" section for more information on
customizing your installation.
---------------------------------------------------------------------------
Usage:
---------------------------------------------------------------------------
When FidoMon starts it'll open a window that contains two listviews. The
top listview will list the files in your inbound directory and the bottom
listview will list the files in your outbound directory. Note that FidoMon
may not be able to find the address of every file that is in the outbound
directory. Hopefully though, it will be able to find the addresses of all
the files that TrapDoor can find an address for.
You can click on a filename in one of these listviews and get a requester
that will offer you several options. The options that you are offered will
depend on the file's type. Experimenting is okay (you have the option to
cancel any operation here), but you should probably verify that you have
the external dialer, editor and viewer installed correctly. Note that if
you click on "Info" and nothing happens, then you probably need to correct
your external text viewer's configuration string (see the menu section
below for more information on how to configure the individual external
commands). The same is true for "Edit" and "Poll".
Info
When you select "Info", FidoMon will create a temporary file in T: and
attempt to display it using your external viewer. If everything is
successful, you should see a report with some additional information about
the file that you selected.
Edit
When you select "Edit", a temporary file will be created in T:. This file
will have the carriage returns removed and will be the file that you
actually edit. After the temporary file is created, your external text
editor will be started. After you finish editing (if you click "Save" in
the requester), carriage returns will be added and the file will be copied
to its final destination. In other words, FidoMon automatically handles
the carriage return conversions that FidoNet files often require... and it
does it transparently to your chosen editor. Currently, you can only edit
.tic, .req and flow files.
Poll
When you select "Poll", FidoMon will use the file's address as an argument
to your external dialer command. In other words, if you select a file that
has an address of "1:3648/101" and you have your external dialer configured
as "run rx rexx:Call %s", then FidoMon will attempt to execute the command:
"run rx rexx:Call 1:3648/101" as if you had typed it at a shell. Notice
that the default external dialer string opens a CON: window for its I/O.
This is necessary if you wish to ever send something like a CTRL-C to a
dialing program that has been started by FidoMon.
Status
When you select "Status" you will be shown a requester for changing the
file's status. Note that this sets the file's FidoNet routing status (ie:
Direct, Crash, Hold, etc), not the file's protection bits.
---------------------------------------------------------------------------
The Project Menu
---------------------------------------------------------------------------
Save Settings
Selecting the "Save Steeings" menu item will save FidoMon's current
configuration to a file in FidoMon's directory named "FidoMon.cfg".
Therefore, once you set FidoMon up the way you want it, just select the
"Save Settings" item and FidoMon will always start with those same options
selected. All of the options that you can set from the command line or
from within the program (including FidoMon's window position) are saved in
the configuration file.
About
Displays some information about FidoMon.
Quit
Terminates FidoMon (as if you couldn't figure that out for yourself). If
you have changed any of FidoMon's settings (other than its window position)
from within the program, FidoMon will ask you if you want to save the
settings before exiting. However, if you had altered FidoMon's settings at
startup via the command line options, FidoMon will not know that its
settings have been changed.
---------------------------------------------------------------------------
The Displayable File Types Menu
---------------------------------------------------------------------------
Since FidoMon has relatively small display areas, you may not always want
to see all the types of files that it can identify (especially if you are a
*busy* node). This entire menu is provided so that you can choose which
types of files will be displayed. Note that a checkmark beside the item in
the menu indicates that the item is enabled.
NetMail
Enables/disables the display of NetMail files. These files are identified
by a filename pattern of #?.pkt in the inbound directory and by a filename
pattern of #?.(pkt|out|cut|dut|hut) in the outbound directory.
EchoMail
Enables/disables the display of EchoMail packets. These files are
identified by a filename pattern of #?.(su|mo|tu|we|th|fr|sa)? in both the
inbound and outbound directories.
File Lists
Enables/disables the display of file lists (often called "flow" files).
These files are identified by a filename pattern of #?.(flo|clo|dlo|hlo) in
the outbound directory.
File Requests
Enables/disables the display of file request packets. These files are
identified by a filename pattern of #?.(req|rlo) in the outbound directory
and by a filename pattern of #?.(req) in the inbound directory. (I know
that a .rlo file is a file list, but it should only exist as the result of
a file request, so you enable it here... some things are a programmer's
prerogative.)
Tic Files
Enables/disables the display of TIC files. These files are identified by a
filename pattern of #?.tic in both the inbound and outbound directories.
Temporary Files
Enables/disables the display of TrapDoor's temporary files. These files
are identified by a filename pattern of TrapTemp#? in the inbound
directory.
Unknown Files
Enables/disables the display of otherwise unidentifiable files. These
files are identified by a failure to match any of the filename patterns
that have been described for the other files. They are "identified" in
both the inbound and outbound directories.
---------------------------------------------------------------------------
The Configuration Options Menu
---------------------------------------------------------------------------
Display Zero Length Files
Enables/disables the display of files that have a length of zero bytes.
This is provided so that you won't see those mail packets that TrapDoor has
truncated to zero bytes, unless you just want to.
Hijack Screen Titlebar
FidoMon will always cycle some information in the screen's titlebar when
its window is active. The "Hijack Screen Titlebar" option allows FidoMon
to "Hijack" the screen title from *any* active window that resides on the
same screen as FidoMon. In other words, if you activate TrapDoor's window,
you'll still see FidoMon's cycling inbound/outbound directory information
in the screen's title bar (this may take several seconds to take effect
after activating a new window). If you do not enable Hijack, FidoMon will
only cycle the screen's title when its own window is active.
NOTE: FidoMon will clear the screentitles of all the windows on FidoMon's
screen, if Hijack is enabled when you exit FidoMon. This is a good thing!
If this wasn't done, the screen's title would point to a part of FidoMon's
memory that will not exist after FidoMon exits. This can result in the
titlebar displaying garbage.
BTW, I hope to add some more info to the screen's title bar in the future.
Let me know, if there's anything in particular that you'd like for me to
put there (other than an advertisement for your BBS :).
Also, note that the file totals that are shown in the screen's title bar
are for *all* files in inbound and outbound - not just those that are
actually enabled or indentfied by TrapDoor or FidoMon.
Quiet Window at Startup
This is a configuration option that affects FidoMon only when it starts.
When this is enabled, FidoMon will not activate its window or bring its
screen to the front whenever it starts. Of course, you must save the set
up for this to ever have any effect.
Inbound Path
This item enables you to pick a new path to your Inbound directory. The
contents of the directory that you choose here will be displayed in the top
half of FidoMon's window.
Outbound Path
This item enables you to pick a new path to your Outbound directory. The
contents of the directory that you choose here will be displayed in the
bottom half of FidoMon's window.
NodeList Path
This item enables you to pick a new path to your NodeList's directory. The
NodeList is used when you select "Info" after clicking on a file.
External Viewer
This item enables you to select your favorite external text viewer.
Currently, this string defaults to:
Run sys:utilities/more %s
Note: the "%s" indicates where in the string FidoMon is to place the
filename of the temporary information file that it creates. In addition,
if you place a second "%s" within the string, FidoMon will place the name
of its public screen at that location in the string (see below for examples
of %s placement in other strings).
External Editor
This item enables you to select your favorite external ASCII text editor.
Currently, this string defaults to:
Run c:Ed %s WINDOW "CON:10/0/-1/-1/Edit Me/SCREEN %s"
Note: the first "%s" indicates where in the string FidoMon is to place the
filename of the temporary edit file that it creates. The second "%s" in
the string, indicates where FidoMon is to place the name of its public
screen (this is done so that the window will appear on the same screen as
FidoMon).
External Dialer
This item enables you to select your favorite external TrapDoor dialer (or
calling script). Currently, this string defaults to:
Run rexx:rx call.rx %s <>"CON:168/60/390/80/Call Window/SCREEN %s"
Note: the first "%s" indicates where in the string FidoMon is to place the
filename of the temporary edit file that it creates. The second "%s" in
the string, indicates where FidoMon is to place the name of its public
screen.
Task Priority
This item allows you to easily set FidoMon's task priority. I highly
recommend that you never set this to anything higher than TrapDoor's task
priority (you may run the risk of causing transfer problems, otherwise).
The task priority defaults to -2, and this works just fine for me.
However, if you are running many CPU intensive tasks, you *may* want to
raise this just a bit.
---------------------------------------------------------------------------
Enjoy!
Elton VonCannon, author of FidoMon and TDClick.
---------------------------------------------------------------------------
I can be reached at:
FidoNet: 1:3648/101.2
Postal Mail: Elton VonCannon
919 Macon St.
Asheboro, NC
27203
---------------------------------------------------------------------------
TrapDoor and TrapList.library are copyrighted by Maximilian Hantsch and
Martin Laubach
ReqTools is copyrighted by Nico Francois
AmigaDos is still copyrighted by Commodore (as far as I know...)
---------------------------------------------------------------------------